package cn.edu.hqu.javaee.Entity;


import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="student")

public class Student{
	
	@Getter
	@Setter
	private String name;
	
	@Getter
	@Setter
	@Id
	private String id;
	
	@Getter
	@Setter
	private String grade;
	
	@Getter
	@Setter
	private String major;//רҵ
	
	@Getter
	@Setter
	private String department;//ѧԺ
	

	
	
}
